package com.xq.props;

import com.xq.Hunter;

/**
 * @description: 道具类
 * @author: 软妹倩哟
 * @date: Created in 2020/6/7 14:29
 * @version: 1.0
 * @modified By:
 */
public abstract class Props {
    private String id;
    private String name;
    private int effect;

    public Props(){

    }

    public Props(String id, String name, int effect) {
        this.id = id;
        this.name = name;
        this.effect = effect;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getEffect() {
        return effect;
    }

    public void setEffect(int effect) {
        this.effect = effect;
    }

    public abstract void useProps(Hunter hunter);
}
